<html>
<head><meta charset="utf-8"><title>improving the perf.rlo details view · t-compiler/wg-self-profile · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/index.html">t-compiler/wg-self-profile</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/improving.20the.20perf.2Erlo.20details.20view.html">improving the perf.rlo details view</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="177034011"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/improving%20the%20perf.rlo%20details%20view/near/177034011" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/improving.20the.20perf.2Erlo.20details.20view.html#177034011">(Oct 01 2019 at 08:31)</a>:</h4>
<p>While working on the event review in rustc I noticed that quite a lot of our events are no queries and that they are nested. That makes it hard to read some of the LLVM stuff, for example.</p>



<a name="177034108"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/improving%20the%20perf.rlo%20details%20view/near/177034108" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/improving.20the.20perf.2Erlo.20details.20view.html#177034108">(Oct 01 2019 at 08:32)</a>:</h4>
<p>Especially for things that are not queries it is useful to have both the "self-time" and the time including all the sub-tasks.</p>



<a name="177034148"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/improving%20the%20perf.rlo%20details%20view/near/177034148" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/improving.20the.20perf.2Erlo.20details.20view.html#177034148">(Oct 01 2019 at 08:33)</a>:</h4>
<p>e.g. I want to know the entire amount of time spent in ThinLTO but I always want the time spent in each of the sub-tasks of ThinLTO</p>



<a name="177034166"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/improving%20the%20perf.rlo%20details%20view/near/177034166" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/improving.20the.20perf.2Erlo.20details.20view.html#177034166">(Oct 01 2019 at 08:33)</a>:</h4>
<p>the question is: how to visualize this properly?</p>



<a name="177034237"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/improving%20the%20perf.rlo%20details%20view/near/177034237" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/improving.20the.20perf.2Erlo.20details.20view.html#177034237">(Oct 01 2019 at 08:34)</a>:</h4>
<p>one option are flame-graphs, they contain pretty much exactly that information (it's unclear how to handle queries for those though)</p>



<a name="177034271"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/improving%20the%20perf.rlo%20details%20view/near/177034271" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/improving.20the.20perf.2Erlo.20details.20view.html#177034271">(Oct 01 2019 at 08:35)</a>:</h4>
<p>a simple alternative is to just add another column for the "inclusive time", as kCacheGrind has it.</p>



<a name="177034373"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/improving%20the%20perf.rlo%20details%20view/near/177034373" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/improving.20the.20perf.2Erlo.20details.20view.html#177034373">(Oct 01 2019 at 08:36)</a>:</h4>
<p><a href="/user_uploads/4715/DWvJeB-N1LS6e-AUKmjyz0cJ/pasted_image.png" target="_blank" title="pasted_image.png">pasted image</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/DWvJeB-N1LS6e-AUKmjyz0cJ/pasted_image.png" target="_blank" title="pasted image"><img src="/user_uploads/4715/DWvJeB-N1LS6e-AUKmjyz0cJ/pasted_image.png"></a></div>



<a name="177034394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/improving%20the%20perf.rlo%20details%20view/near/177034394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/improving.20the.20perf.2Erlo.20details.20view.html#177034394">(Oct 01 2019 at 08:37)</a>:</h4>
<p>Since you can sort for either incl. or self time, that's very useful already.</p>



<a name="177034414"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/improving%20the%20perf.rlo%20details%20view/near/177034414" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/improving.20the.20perf.2Erlo.20details.20view.html#177034414">(Oct 01 2019 at 08:37)</a>:</h4>
<p>Do we know how big a flamegraph is for our benchmarks?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>